for i in range(1, 9999):
    a = 2024 * i
    if a % 1024 == 0:
        print(a)
        break
